package com.cskaoyan.bean.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MarketAdmin {
    @NotBlank
    private Integer id;
    @NotBlank
    private String username;
    @NotBlank
    private String password;

    private String lastLoginIp;

    private Date lastLoginTime;
    @NotBlank
    private String avatar;

    private Date addTime;

    private Date updateTime;

    private boolean deleted;

    private Integer[] roleIds;

}
